package com.bookshop.service;


import com.bookshop.entity.Collect;

import java.util.List;

/**
 * ClassName: CollectService
 * Package: com.bookshop.service
 * Description:
 *
 * @Author BJX
 * @Create 2024/1/21 11:33
 * @Version 1.0
 */
public interface CollectService {
    int addCollect(long bookId,long userId);

    int cancelCollect(long bookId,long userId);

    int countCollect(long userId);

    int clearCollect(long userId);

    List<Collect> showCollect(int pageNum, long userId);
}
